package collection;

import java.util.Comparator;

public class DDD implements Comparator<Point> {
    public DDD() {
    }

    public  int compare(Point o1, Point o2) {
        return o1.getX() - o2.getX();
    }
}
